<%@page import="org.apache.shiro.subject.Subject"%>
<%@page import="org.apache.shiro.SecurityUtils"%>
<%@page import="io.buji.pac4j.*"%>
<%
	Subject subject = SecurityUtils.getSubject();
	ShiroWebContext context = new ShiroWebContext(request, response);
%>
<h1>index</h1>
<a href="cas/index.jsp">Protected url by CAS : cas/index.jsp</a><br />
<br />
<a href="http://localhost:8080/cas/logout">logout</a>
<br /><br />
profile : <%=subject.getPrincipals()%>
<br /><br />
<hr />
